<script setup lang="ts">
import SonCom from './components/SonCom.vue'
const fname = 'jack'
const fage = 18
const fmale = false
</script>

<template>
  <h2>我是父组件</h2>
  <SonCom :name="fname" :age="fage" :male="fmale"></SonCom>
  <SonCom></SonCom>
</template>

<style scoped>
h2 {
  border: 2px yellowgreen solid;
}
</style>
